package com.ghyf.mplay.datatype;

/**
 * 表示颜色的数据类型，RGBA分别表示红绿蓝及透明度。
 * 
 * @author 陈小红
 * 
 */

public class RGBA {
	private int red;	//红

	private int green; //绿

	private int blue;	//蓝

	private int alpha;	//透明度

	public int getRed() {
		return red;
	}

	public void setRed(int red) {
		this.red = red;
	}

	public int getGreen() {
		return green;
	}

	public void setGreen(int green) {
		this.green = green;
	}

	public int getBlue() {
		return blue;
	}

	public void setBlue(int blue) {
		this.blue = blue;
	}

	public int getAlpha() {
		return alpha;
	}

	public void setAlpha(int alpha) {
		this.alpha = alpha;
	}

}
